import 'package:oramemo/generated/json/base/json_field.dart';
import 'package:oramemo/generated/json/membr_level_entity.g.dart';
import 'dart:convert';
export 'package:oramemo/generated/json/membr_level_entity.g.dart';

@JsonSerializable()
class MembrLevelEntity {
	String? msg;
	int? code;
	List<MembrLevelData>? data;

	MembrLevelEntity();

	factory MembrLevelEntity.fromJson(Map<String, dynamic> json) => $MembrLevelEntityFromJson(json);

	Map<String, dynamic> toJson() => $MembrLevelEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}

@JsonSerializable()
class MembrLevelData {
	MembrLevelDataParams? params;
	int? id;
	double? levelFee;
	String? currency;
	int? status;
	int? memberTime;
	int? orderBy;
	MembrLevelDataMemberLevelDesc? memberLevelDesc;

	MembrLevelData();

	factory MembrLevelData.fromJson(Map<String, dynamic> json) => $MembrLevelDataFromJson(json);

	Map<String, dynamic> toJson() => $MembrLevelDataToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}

@JsonSerializable()
class MembrLevelDataParams {


	MembrLevelDataParams();

	factory MembrLevelDataParams.fromJson(Map<String, dynamic> json) => $MembrLevelDataParamsFromJson(json);

	Map<String, dynamic> toJson() => $MembrLevelDataParamsToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}

@JsonSerializable()
class MembrLevelDataMemberLevelDesc {
	String? remark;
	MembrLevelDataMemberLevelDescParams? params;
	int? id;
	int? memberLevelId;
	String? levelName;
	String? levelTitle;
	String? language;

	MembrLevelDataMemberLevelDesc();

	factory MembrLevelDataMemberLevelDesc.fromJson(Map<String, dynamic> json) => $MembrLevelDataMemberLevelDescFromJson(json);

	Map<String, dynamic> toJson() => $MembrLevelDataMemberLevelDescToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}

@JsonSerializable()
class MembrLevelDataMemberLevelDescParams {


	MembrLevelDataMemberLevelDescParams();

	factory MembrLevelDataMemberLevelDescParams.fromJson(Map<String, dynamic> json) => $MembrLevelDataMemberLevelDescParamsFromJson(json);

	Map<String, dynamic> toJson() => $MembrLevelDataMemberLevelDescParamsToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}